package com.lglbc.day15;

import org.springframework.stereotype.Service;
import org.thymeleaf.util.StringUtils;

/**
 * @Author 乐哥聊编程
 * @Doc 关注公众号"乐哥聊编程"获取文档和源码
 * @Date 2023/4/19
 * @Description
 */
@Service
public class Permission {
    public boolean check(String permission){
        return StringUtils.equals(permission,"lglbc");
    }
}
